<!DOCTYPE html>
<html>
<head>
    <title>CSS Test: Multiple named flows multi-column containers, text content flowing
                     into multiple visually overlapping regions</title>
    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    <!-- Reviewed on Github on 09-26-2013: https://github.com/w3c/csswg-test/pull/89 -->
    <link rel="reviewer" title="Mihai Balan" href="mailto:mibalan@adobe.com"/>
    <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property"/>
    <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-from-property"/>
    <link rel="help" href="http://www.w3.org/TR/css3-multicol/#columns"/>
    <link rel="match" href="reference/regions-multicol-019-ref.html"/>
    <meta name="flags" content="ahem"/>
    <meta name="assert" content="This test checks multiple named flow multi-column containers
                                 with text content flow into multiple overlapping regions."/>
    <style type="text/css">
        .named-flow-multicol {
            width: 150px;
            font-family: Ahem;
            font-size: 25px;
            line-height: 1em;
            columns: 2;
            column-gap: 50px;
        }
        .green {
            color: green;
            flow-into: multicol-1;
        }
        .blue {
            color: blue;
            flow-into: multicol-2;
        }
        #region-1, #region-2 {
            position: absolute;
            top: 50px;
        }
        #region-1 {
            left: 20px;
            flow-from: multicol-1;
        }
        #region-2 {
            left: 70px;
            flow-from: multicol-2;
        }
        #failure {
            position: absolute;
            top: 50px;
            left: 20px;
            background-color: red;
            width: 200px;
            height: 200px;
            z-index: -1;
        }
	</style>
</head>
<body>
    <p>The test passes if there is a square with four vertical
       stripes alternating green and blue, and no red.</p> 
    <div class="green named-flow-multicol">
        XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
    </div>
    <div class="blue named-flow-multicol">
        XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
    </div>
    <div id="region-1"></div>
    <div id="region-2"></div>
    <div id="failure"></div>
</body>
</html>